package com.yjs.app.trade.service.service.sys;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * 常见问题
 * @author hukangji
 *
 */
public interface QuestionService {
	
	/**
	 * 获取所有常见问题
	 * @return 
	 * @throws IOException 
	 * @throws SQLException 
	 */
	public List<Map<String, Object>> findFAQPage() throws SQLException, IOException;
	/**
	 * 根据问题id获取问题
	 * @param faqId 问题表id
	 * @return 
	 * @throws IOException 
	 * @throws SQLException 
	 */
	public Map<String,Object> getFAQById(String faqId) throws SQLException, IOException;
	/**
	 * 查询服务条款
	 * @param faqId 问题表id
	 * @return 
	 * @throws IOException 
	 * @throws SQLException 
	 */
	public Map<String,Object> findServer() throws SQLException, IOException;
	
}
